#pragma once

#include <QOpenGLWindow>

class QOpenGLShaderProgram;


class MyGlWindow : public QOpenGLWindow
{
    Q_OBJECT

public:
    MyGlWindow();

protected:
    virtual void initializeGL();
    virtual void paintGL();

private slots:
  void teardownGL();

private:
    void printContextInformation();

    QOpenGLShaderProgram*   program;
};
